.class public Lcom/brixd/niceapp/model/DetailModel;
.super Ljava/lang/Object;
.source "DetailModel.java"

# interfaces
.implements Ljava/io/Serializable;


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/brixd/niceapp/model/DetailModel$DetailType;,
        Lcom/brixd/niceapp/model/DetailModel$DetailGroupType;
    }
.end annotation


# static fields
.field private static final serialVersionUID:J = -0x7dc9b14b1d902a78L


# instance fields
.field private commentModel:Lcom/brixd/niceapp/model/CommentModel;

.field private content:Ljava/lang/String;

.field private height:I

.field private sameApp:Lcom/brixd/niceapp/model/ShortAppModel;

.field private type:Lcom/brixd/niceapp/model/DetailModel$DetailType;

.field private userModels:Ljava/util/ArrayList;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/ArrayList",
            "<",
            "Lcom/brixd/niceapp/model/CommonUserModel;",
            ">;"
        }
    .end annotation
.end field

.field private width:I


# direct methods
.method public constructor <init>()V
    .registers 1

    .prologue
    .line 18
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 26
    return-void
.end method

.method public static convertCommentsToDetailModels(Ljava/util/ArrayList;)Ljava/util/ArrayList;
    .registers 6
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/ArrayList",
            "<",
            "Lcom/brixd/niceapp/model/CommentModel;",
            ">;)",
            "Ljava/util/ArrayList",
            "<",
            "Lcom/brixd/niceapp/model/DetailModel;",
            ">;"
        }
    .end annotation

    .prologue
    .line 152
    .local p0, "commentModels":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lcom/brixd/niceapp/model/CommentModel;>;"
    new-instance v2, Ljava/util/ArrayList;

    invoke-direct {v2}, Ljava/util/ArrayList;-><init>()V

    .line 154
    .local v2, "detailModels":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lcom/brixd/niceapp/model/DetailModel;>;"
    invoke-virtual {p0}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;

    move-result-object v3

    :goto_9
    invoke-interface {v3}, Ljava/util/Iterator;->hasNext()Z

    move-result v4

    if-eqz v4, :cond_26

    invoke-interface {v3}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/brixd/niceapp/model/CommentModel;

    .line 155
    .local v0, "commentModel":Lcom/brixd/niceapp/model/CommentModel;
    new-instance v1, Lcom/brixd/niceapp/model/DetailModel;

    invoke-direct {v1}, Lcom/brixd/niceapp/model/DetailModel;-><init>()V

    .line 156
    .local v1, "detailModel":Lcom/brixd/niceapp/model/DetailModel;
    sget-object v4, Lcom/brixd/niceapp/model/DetailModel$DetailType;->TYPE_COMMENT:Lcom/brixd/niceapp/model/DetailModel$DetailType;

    invoke-virtual {v1, v4}, Lcom/brixd/niceapp/model/DetailModel;->setType(Lcom/brixd/niceapp/model/DetailModel$DetailType;)V

    .line 157
    invoke-virtual {v1, v0}, Lcom/brixd/niceapp/model/DetailModel;->setCommentModel(Lcom/brixd/niceapp/model/CommentModel;)V

    .line 159
    invoke-virtual {v2, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    goto :goto_9

    .line 162
    .end local v0    # "commentModel":Lcom/brixd/niceapp/model/CommentModel;
    .end local v1    # "detailModel":Lcom/brixd/niceapp/model/DetailModel;
    :cond_26
    return-object v2
.end method

.method public static convertShortAppToDetailModels(Ljava/util/List;)Ljava/util/ArrayList;
    .registers 6
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List",
            "<",
            "Lcom/brixd/niceapp/model/ShortAppModel;",
            ">;)",
            "Ljava/util/ArrayList",
            "<",
            "Lcom/brixd/niceapp/model/DetailModel;",
            ">;"
        }
    .end annotation

    .prologue
    .line 166
    .local p0, "shortAppModels":Ljava/util/List;, "Ljava/util/List<Lcom/brixd/niceapp/model/ShortAppModel;>;"
    new-instance v2, Ljava/util/ArrayList;

    invoke-direct {v2}, Ljava/util/ArrayList;-><init>()V

    .line 167
    .local v2, "detailModels":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lcom/brixd/niceapp/model/DetailModel;>;"
    if-nez p0, :cond_8

    .line 179
    :cond_7
    return-object v2

    .line 171
    :cond_8
    invoke-interface {p0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v3

    :goto_c
    invoke-interface {v3}, Ljava/util/Iterator;->hasNext()Z

    move-result v4

    if-eqz v4, :cond_7

    invoke-interface {v3}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/brixd/niceapp/model/ShortAppModel;

    .line 172
    .local v0, "appModel":Lcom/brixd/niceapp/model/ShortAppModel;
    new-instance v1, Lcom/brixd/niceapp/model/DetailModel;

    invoke-direct {v1}, Lcom/brixd/niceapp/model/DetailModel;-><init>()V

    .line 173
    .local v1, "detailModel":Lcom/brixd/niceapp/model/DetailModel;
    sget-object v4, Lcom/brixd/niceapp/model/DetailModel$DetailType;->TYPE_SAME_APPS:Lcom/brixd/niceapp/model/DetailModel$DetailType;

    invoke-virtual {v1, v4}, Lcom/brixd/niceapp/model/DetailModel;->setType(Lcom/brixd/niceapp/model/DetailModel$DetailType;)V

    .line 174
    invoke-virtual {v1, v0}, Lcom/brixd/niceapp/model/DetailModel;->setSameApp(Lcom/brixd/niceapp/model/ShortAppModel;)V

    .line 176
    invoke-virtual {v2, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    goto :goto_c
.end method

.method public static parseCommunityDetailModels(Lorg/json/JSONArray;)Ljava/util/ArrayList;
    .registers 10
    .param p0, "images"    # Lorg/json/JSONArray;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lorg/json/JSONArray;",
            ")",
            "Ljava/util/ArrayList",
            "<",
            "Lcom/brixd/niceapp/model/DetailModel;",
            ">;"
        }
    .end annotation

    .prologue
    .line 183
    new-instance v1, Ljava/util/ArrayList;

    invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V

    .line 184
    .local v1, "detailModels":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lcom/brixd/niceapp/model/DetailModel;>;"
    if-eqz p0, :cond_91

    .line 185
    const/4 v3, 0x0

    .local v3, "i":I
    :goto_8
    invoke-virtual {p0}, Lorg/json/JSONArray;->length()I

    move-result v7

    if-ge v3, v7, :cond_91

    .line 186
    invoke-virtual {p0, v3}, Lorg/json/JSONArray;->optString(I)Ljava/lang/String;

    move-result-object v4

    .line 187
    .local v4, "url":Ljava/lang/String;
    invoke-static {v4}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v7

    if-nez v7, :cond_88

    .line 188
    new-instance v0, Lcom/brixd/niceapp/model/DetailModel;

    invoke-direct {v0}, Lcom/brixd/niceapp/model/DetailModel;-><init>()V

    .line 189
    .local v0, "detailModel":Lcom/brixd/niceapp/model/DetailModel;
    sget-object v7, Lcom/brixd/niceapp/model/DetailModel$DetailType;->TYPE_IMAGE:Lcom/brixd/niceapp/model/DetailModel$DetailType;

    invoke-virtual {v0, v7}, Lcom/brixd/niceapp/model/DetailModel;->setType(Lcom/brixd/niceapp/model/DetailModel$DetailType;)V

    .line 190
    invoke-virtual {v0, v4}, Lcom/brixd/niceapp/model/DetailModel;->setContent(Ljava/lang/String;)V

    .line 193
    const/16 v7, 0x5f

    :try_start_27
    invoke-virtual {v4, v7}, Ljava/lang/String;->lastIndexOf(I)I

    move-result v7

    add-int/lit8 v7, v7, 0x1

    const/16 v8, 0x2e

    invoke-virtual {v4, v8}, Ljava/lang/String;->lastIndexOf(I)I

    move-result v8

    invoke-virtual {v4, v7, v8}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v5

    .line 194
    .local v5, "wh":Ljava/lang/String;
    const-string v7, "x"

    invoke-virtual {v5, v7}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;

    move-result-object v6

    .line 195
    .local v6, "whStrings":[Ljava/lang/String;
    const/4 v7, 0x0

    aget-object v7, v6, v7

    invoke-static {v7}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I

    move-result v7

    invoke-virtual {v0, v7}, Lcom/brixd/niceapp/model/DetailModel;->setWidth(I)V

    .line 196
    const/4 v7, 0x1

    aget-object v7, v6, v7

    invoke-static {v7}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I

    move-result v7

    invoke-virtual {v0, v7}, Lcom/brixd/niceapp/model/DetailModel;->setHeight(I)V

    .line 198
    new-instance v7, Ljava/lang/StringBuilder;

    invoke-direct {v7}, Ljava/lang/StringBuilder;-><init>()V

    const-string v8, "w:"

    invoke-virtual {v7, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v7

    invoke-virtual {v0}, Lcom/brixd/niceapp/model/DetailModel;->getWidth()I

    move-result v8

    invoke-virtual {v7, v8}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v7

    invoke-virtual {v7}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v7

    invoke-static {v7}, Lcom/zuiapps/suite/utils/log/LogUtil;->i(Ljava/lang/String;)V

    .line 199
    new-instance v7, Ljava/lang/StringBuilder;

    invoke-direct {v7}, Ljava/lang/StringBuilder;-><init>()V

    const-string v8, "h:"

    invoke-virtual {v7, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v7

    invoke-virtual {v0}, Lcom/brixd/niceapp/model/DetailModel;->getHeight()I

    move-result v8

    invoke-virtual {v7, v8}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v7

    invoke-virtual {v7}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v7

    invoke-static {v7}, Lcom/zuiapps/suite/utils/log/LogUtil;->i(Ljava/lang/String;)V
    :try_end_85
    .catch Ljava/lang/Exception; {:try_start_27 .. :try_end_85} :catch_8c

    .line 203
    .end local v5    # "wh":Ljava/lang/String;
    .end local v6    # "whStrings":[Ljava/lang/String;
    :goto_85
    invoke-virtual {v1, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 185
    .end local v0    # "detailModel":Lcom/brixd/niceapp/model/DetailModel;
    :cond_88
    add-int/lit8 v3, v3, 0x1

    goto/16 :goto_8

    .line 200
    .restart local v0    # "detailModel":Lcom/brixd/niceapp/model/DetailModel;
    :catch_8c
    move-exception v2

    .line 201
    .local v2, "e":Ljava/lang/Exception;
    invoke-virtual {v2}, Ljava/lang/Exception;->printStackTrace()V

    goto :goto_85

    .line 209
    .end local v0    # "detailModel":Lcom/brixd/niceapp/model/DetailModel;
    .end local v2    # "e":Ljava/lang/Exception;
    .end local v3    # "i":I
    .end local v4    # "url":Ljava/lang/String;
    :cond_91
    return-object v1
.end method

.method public static parseDetailModels(Ljava/lang/String;)Ljava/util/ArrayList;
    .registers 14
    .param p0, "html"    # Ljava/lang/String;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/lang/String;",
            ")",
            "Ljava/util/ArrayList",
            "<",
            "Lcom/brixd/niceapp/model/DetailModel;",
            ">;"
        }
    .end annotation

    .prologue
    const/4 v12, 0x0

    .line 97
    new-instance v1, Ljava/util/ArrayList;

    invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V

    .line 99
    .local v1, "detailModels":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lcom/brixd/niceapp/model/DetailModel;>;"
    invoke-static {p0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v9

    if-eqz v9, :cond_d

    .line 148
    :cond_c
    :goto_c
    return-object v1

    .line 103
    :cond_d
    invoke-static {p0}, Lorg/jsoup/Jsoup;->parseBodyFragment(Ljava/lang/String;)Lorg/jsoup/nodes/Document;

    move-result-object v2

    .line 104
    .local v2, "document":Lorg/jsoup/nodes/Document;
    invoke-virtual {v2}, Lorg/jsoup/nodes/Document;->body()Lorg/jsoup/nodes/Element;

    move-result-object v9

    invoke-virtual {v9}, Lorg/jsoup/nodes/Element;->getAllElements()Lorg/jsoup/select/Elements;

    move-result-object v5

    .line 105
    .local v5, "elements":Lorg/jsoup/select/Elements;
    invoke-virtual {v5}, Lorg/jsoup/select/Elements;->iterator()Ljava/util/Iterator;

    move-result-object v9

    :cond_1d
    :goto_1d
    invoke-interface {v9}, Ljava/util/Iterator;->hasNext()Z

    move-result v10

    if-eqz v10, :cond_e0

    invoke-interface {v9}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Lorg/jsoup/nodes/Element;

    .line 106
    .local v4, "element":Lorg/jsoup/nodes/Element;
    invoke-virtual {v4}, Lorg/jsoup/nodes/Element;->tagName()Ljava/lang/String;

    move-result-object v8

    .line 108
    .local v8, "tag":Ljava/lang/String;
    const-string v10, "h2"

    invoke-virtual {v10, v8}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v10

    if-nez v10, :cond_4b

    const-string v10, "img"

    invoke-virtual {v10, v8}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v10

    if-nez v10, :cond_4b

    const-string v10, "p"

    invoke-virtual {v10, v8}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v10

    if-eqz v10, :cond_1d

    invoke-virtual {v4}, Lorg/jsoup/nodes/Element;->hasText()Z

    move-result v10

    if-eqz v10, :cond_1d

    .line 110
    :cond_4b
    new-instance v0, Lcom/brixd/niceapp/model/DetailModel;

    invoke-direct {v0}, Lcom/brixd/niceapp/model/DetailModel;-><init>()V

    .line 111
    .local v0, "detailModel":Lcom/brixd/niceapp/model/DetailModel;
    const-string v10, "h2"

    invoke-virtual {v10, v8}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v10

    if-eqz v10, :cond_68

    .line 112
    sget-object v10, Lcom/brixd/niceapp/model/DetailModel$DetailType;->TYPE_HEADLINE:Lcom/brixd/niceapp/model/DetailModel$DetailType;

    invoke-virtual {v0, v10}, Lcom/brixd/niceapp/model/DetailModel;->setType(Lcom/brixd/niceapp/model/DetailModel$DetailType;)V

    .line 113
    invoke-virtual {v4}, Lorg/jsoup/nodes/Element;->html()Ljava/lang/String;

    move-result-object v10

    invoke-virtual {v0, v10}, Lcom/brixd/niceapp/model/DetailModel;->setContent(Ljava/lang/String;)V

    .line 138
    :goto_64
    invoke-virtual {v1, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    goto :goto_1d

    .line 114
    :cond_68
    const-string v10, "p"

    invoke-virtual {v10, v8}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v10

    if-eqz v10, :cond_8b

    .line 115
    const-string v10, "img"

    invoke-virtual {v4, v10}, Lorg/jsoup/nodes/Element;->getElementsByTag(Ljava/lang/String;)Lorg/jsoup/select/Elements;

    move-result-object v6

    .line 116
    .local v6, "imgs":Lorg/jsoup/select/Elements;
    if-eqz v6, :cond_7e

    invoke-virtual {v6}, Lorg/jsoup/select/Elements;->size()I

    move-result v10

    if-gtz v10, :cond_1d

    .line 120
    :cond_7e
    sget-object v10, Lcom/brixd/niceapp/model/DetailModel$DetailType;->TYPE_PARAGRAPH:Lcom/brixd/niceapp/model/DetailModel$DetailType;

    invoke-virtual {v0, v10}, Lcom/brixd/niceapp/model/DetailModel;->setType(Lcom/brixd/niceapp/model/DetailModel$DetailType;)V

    .line 121
    invoke-virtual {v4}, Lorg/jsoup/nodes/Element;->html()Ljava/lang/String;

    move-result-object v10

    invoke-virtual {v0, v10}, Lcom/brixd/niceapp/model/DetailModel;->setContent(Ljava/lang/String;)V

    goto :goto_64

    .line 122
    .end local v6    # "imgs":Lorg/jsoup/select/Elements;
    :cond_8b
    const-string v10, "img"

    invoke-virtual {v10, v8}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v10

    if-eqz v10, :cond_c4

    .line 123
    sget-object v10, Lcom/brixd/niceapp/model/DetailModel$DetailType;->TYPE_IMAGE:Lcom/brixd/niceapp/model/DetailModel$DetailType;

    invoke-virtual {v0, v10}, Lcom/brixd/niceapp/model/DetailModel;->setType(Lcom/brixd/niceapp/model/DetailModel$DetailType;)V

    .line 124
    const-string v10, "src"

    invoke-virtual {v4, v10}, Lorg/jsoup/nodes/Element;->attr(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v10

    invoke-virtual {v0, v10}, Lcom/brixd/niceapp/model/DetailModel;->setContent(Ljava/lang/String;)V

    .line 126
    :try_start_a1
    const-string v10, "width"

    invoke-virtual {v4, v10}, Lorg/jsoup/nodes/Element;->attr(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v10

    invoke-static {v10}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I

    move-result v10

    invoke-virtual {v0, v10}, Lcom/brixd/niceapp/model/DetailModel;->setWidth(I)V

    .line 127
    const-string v10, "height"

    invoke-virtual {v4, v10}, Lorg/jsoup/nodes/Element;->attr(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v10

    invoke-static {v10}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I

    move-result v10

    invoke-virtual {v0, v10}, Lcom/brixd/niceapp/model/DetailModel;->setHeight(I)V
    :try_end_bb
    .catch Ljava/lang/Exception; {:try_start_a1 .. :try_end_bb} :catch_bc

    goto :goto_64

    .line 128
    :catch_bc
    move-exception v3

    .line 129
    .local v3, "e":Ljava/lang/Exception;
    invoke-virtual {v0, v12}, Lcom/brixd/niceapp/model/DetailModel;->setWidth(I)V

    .line 130
    invoke-virtual {v0, v12}, Lcom/brixd/niceapp/model/DetailModel;->setHeight(I)V

    goto :goto_64

    .line 134
    .end local v3    # "e":Ljava/lang/Exception;
    :cond_c4
    const-string v10, "Impossible!!!"

    invoke-static {v10}, Lcom/zuiapps/suite/utils/log/LogUtil;->w(Ljava/lang/String;)V

    .line 135
    new-instance v10, Ljava/lang/StringBuilder;

    invoke-direct {v10}, Ljava/lang/StringBuilder;-><init>()V

    const-string v11, "Tag:"

    invoke-virtual {v10, v11}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v10

    invoke-virtual {v10, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v10

    invoke-virtual {v10}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v10

    invoke-static {v10}, Lcom/zuiapps/suite/utils/log/LogUtil;->w(Ljava/lang/String;)V

    goto :goto_64

    .line 142
    .end local v0    # "detailModel":Lcom/brixd/niceapp/model/DetailModel;
    .end local v4    # "element":Lorg/jsoup/nodes/Element;
    .end local v8    # "tag":Ljava/lang/String;
    :cond_e0
    invoke-virtual {v1}, Ljava/util/ArrayList;->size()I

    move-result v9

    if-lez v9, :cond_c

    .line 143
    new-instance v7, Lcom/brixd/niceapp/model/DetailModel;

    invoke-direct {v7}, Lcom/brixd/niceapp/model/DetailModel;-><init>()V

    .line 144
    .local v7, "model":Lcom/brixd/niceapp/model/DetailModel;
    sget-object v9, Lcom/brixd/niceapp/model/DetailModel$DetailType;->TYPE_SHARE:Lcom/brixd/niceapp/model/DetailModel$DetailType;

    invoke-virtual {v7, v9}, Lcom/brixd/niceapp/model/DetailModel;->setType(Lcom/brixd/niceapp/model/DetailModel$DetailType;)V

    .line 145
    invoke-virtual {v1, v7}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    goto/16 :goto_c
.end method


# virtual methods
.method public getCommentModel()Lcom/brixd/niceapp/model/CommentModel;
    .registers 2

    .prologue
    .line 57
    iget-object v0, p0, Lcom/brixd/niceapp/model/DetailModel;->commentModel:Lcom/brixd/niceapp/model/CommentModel;

    return-object v0
.end method

.method public getContent()Ljava/lang/String;
    .registers 2

    .prologue
    .line 49
    iget-object v0, p0, Lcom/brixd/niceapp/model/DetailModel;->content:Ljava/lang/String;

    return-object v0
.end method

.method public getHeight()I
    .registers 2

    .prologue
    .line 89
    iget v0, p0, Lcom/brixd/niceapp/model/DetailModel;->height:I

    return v0
.end method

.method public getSameApp()Lcom/brixd/niceapp/model/ShortAppModel;
    .registers 2

    .prologue
    .line 65
    iget-object v0, p0, Lcom/brixd/niceapp/model/DetailModel;->sameApp:Lcom/brixd/niceapp/model/ShortAppModel;

    return-object v0
.end method

.method public getType()Lcom/brixd/niceapp/model/DetailModel$DetailType;
    .registers 2

    .prologue
    .line 41
    iget-object v0, p0, Lcom/brixd/niceapp/model/DetailModel;->type:Lcom/brixd/niceapp/model/DetailModel$DetailType;

    return-object v0
.end method

.method public getUserModels()Ljava/util/ArrayList;
    .registers 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Ljava/util/ArrayList",
            "<",
            "Lcom/brixd/niceapp/model/CommonUserModel;",
            ">;"
        }
    .end annotation

    .prologue
    .line 73
    iget-object v0, p0, Lcom/brixd/niceapp/model/DetailModel;->userModels:Ljava/util/ArrayList;

    return-object v0
.end method

.method public getWidth()I
    .registers 2

    .prologue
    .line 81
    iget v0, p0, Lcom/brixd/niceapp/model/DetailModel;->width:I

    return v0
.end method

.method public setCommentModel(Lcom/brixd/niceapp/model/CommentModel;)V
    .registers 2
    .param p1, "commentModel"    # Lcom/brixd/niceapp/model/CommentModel;

    .prologue
    .line 61
    iput-object p1, p0, Lcom/brixd/niceapp/model/DetailModel;->commentModel:Lcom/brixd/niceapp/model/CommentModel;

    .line 62
    return-void
.end method

.method public setContent(Ljava/lang/String;)V
    .registers 2
    .param p1, "content"    # Ljava/lang/String;

    .prologue
    .line 53
    iput-object p1, p0, Lcom/brixd/niceapp/model/DetailModel;->content:Ljava/lang/String;

    .line 54
    return-void
.end method

.method public setHeight(I)V
    .registers 2
    .param p1, "height"    # I

    .prologue
    .line 93
    iput p1, p0, Lcom/brixd/niceapp/model/DetailModel;->height:I

    .line 94
    return-void
.end method

.method public setSameApp(Lcom/brixd/niceapp/model/ShortAppModel;)V
    .registers 2
    .param p1, "sameApp"    # Lcom/brixd/niceapp/model/ShortAppModel;

    .prologue
    .line 69
    iput-object p1, p0, Lcom/brixd/niceapp/model/DetailModel;->sameApp:Lcom/brixd/niceapp/model/ShortAppModel;

    .line 70
    return-void
.end method

.method public setType(Lcom/brixd/niceapp/model/DetailModel$DetailType;)V
    .registers 2
    .param p1, "type"    # Lcom/brixd/niceapp/model/DetailModel$DetailType;

    .prologue
    .line 45
    iput-object p1, p0, Lcom/brixd/niceapp/model/DetailModel;->type:Lcom/brixd/niceapp/model/DetailModel$DetailType;

    .line 46
    return-void
.end method

.method public setUserModels(Ljava/util/ArrayList;)V
    .registers 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/ArrayList",
            "<",
            "Lcom/brixd/niceapp/model/CommonUserModel;",
            ">;)V"
        }
    .end annotation

    .prologue
    .line 77
    .local p1, "userModels":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lcom/brixd/niceapp/model/CommonUserModel;>;"
    iput-object p1, p0, Lcom/brixd/niceapp/model/DetailModel;->userModels:Ljava/util/ArrayList;

    .line 78
    return-void
.end method

.method public setWidth(I)V
    .registers 2
    .param p1, "width"    # I

    .prologue
    .line 85
    iput p1, p0, Lcom/brixd/niceapp/model/DetailModel;->width:I

    .line 86
    return-void
.end method
